#Apache port and VirtualHost issue
Explore tagged Tumblr posts
Text
Fix the Port used for the Virtualhost is not an Apache Listen Port
In this short blogpost, we shall discuss how to Fix the Port used for the Virtualhost is not an Apache Listen Port. In Apache, the Listen directive in the configuration file (httpd.conf or apache2.conf, depending on the system) specifies the port number on which Apache will listen for incoming connections. Please see Setup VirtualHost with SSL on WAMP Server, how to Configure SQL Server Instance…
#Apache listen port error#Apache port and VirtualHost issue#Apache port error solution#Apache port setup#Apache server troubleshooting#Apache VirtualHost configuration error#configure Apache listen port#fix Apache VirtualHost port issue#how to fix Apache port not listening#resolve Apache port conflict#VirtualHost listen port fix#VirtualHost not listening on port#VirtualHost not responding on port#VirtualHost port not working#Windows#Windows Server#Windows Server 2012#Windows Server 2016#Windows Server 2019
0 notes
Text
How to Setup a Raspberry Pi Apache Web Server
In this Raspberry Pi Apache project, we will be showing you how to install and set up an Apache web server on the Raspberry Pi.
By itself, Apache can serve HTML files over the HTTP and HTTPS web protocols. Alongside additional modules such as PHP, Apache is also able to serve dynamic content.
Apache is one of the most popular web servers available for the Raspberry Pi. Apache alone accounts for 44% of all web servers in the world.
An alternative to Apache is an Nginx web server and is considered to be much faster than Apache at certain tasks. It’s entirely up to you on which technology you want to proceed with using. Within this Raspberry Pi Apache tutorial, we will be walking you through the steps to setting up Apache, installing PHP, and also creating your first basic Apache VirtualHost file.
In this tutorial, we touch on all the basics of Apache, however, do not touch on setting up MYSQL and PHPMyAdmin. We also don’t cover setting up WordPress on the Raspberry Pi. These are all topics covered in separate tutorials.
Equipment List
Below are all the bits and pieces that I used for this Raspberry Pi Apache Web Server tutorial. Recommended
Raspberry Pi 2, 3, or 4
Micro SD Card
Power Supply
Ethernet Cord or Wifi dongle (The Pi 3 and 4 has WiFi inbuilt)
Optional
Raspberry Pi Case
How to Install the Apache Web Server on the Raspberry Pi
1. Before we install Apache to our Raspberry Pi, we must first ensure the package list is up to date by running the following two commands.
sudo apt-get update sudo apt-get upgrade
2. First, we will need to install the Apache2 package on our Raspberry Pi.
For those who don’t know what Apache is, it is server software that serves the HTML files from a computer to the web browser.
To install apache2 on your Raspberry Pi, enter the following command into the terminal.
sudo apt install apache2 -y
3. With Apache2 installed to our Raspberry Pi, we now have an extremely basic web server up and running. The server will be able to provide non-dynamic content such as HTML files.
In the next section, we will be extending this basic Apache web server by installing PHP to the Raspberry Pi.
To check that Apache is up and running on your Raspberry Pi, you can enter the Raspberry Pi’s IP address into a web browser. The server should return a webpage with some simple text on it.
If you don’t know the IP, you can enter the following command into the terminal to retrieve it.
hostname -I
4. In a web browser, enter your Raspberry Pi’s IP Address, it should connect and load a page like the one below.
5. To be able to make changes to the files within the “/var/www/html” without using root we need o set up some permissions.
Firstly, we add the user pi (our user) to the www-data group, the default group for Apache2. Secondly, we give ownership to all the files and folders in the /var/www/html directory to the www-data group.
sudo usermod -a -G www-data pi sudo chown -R -f www-data:www-data /var/www/html
Once you have run that command, you will need to logout and then log back in for the changes to take effect.
6. You can now make changes to the default web page by running the following command.
This command will use the “nano” text editor to modify the “index.html” file.
The web server will serve all files within the “/var/ww/html/” directory.
nano /var/www/html/index.html
Apache is a basic web server and is great if you want to learn HTML, JS, or CSS.
However, if you are after PHP (Used for dynamic web pages) then continue to the next section of our Raspberry Pi Apache tutorial.
Setting up PHP7 for Apache
1. Please note that before you start this section, you should be running at least Raspbian Buster. You can learn how to upgrade to Raspbian Buster in our “Upgrading Raspbian” guide.
To start this section, we will need to go ahead and install php7.3 and several other packages to our Raspberry Pi. The additional packages we are installing are ones that are commonly used by PHP applications.
Lucky for us installing all the packages we need is a simple process as PHP 7.3 is available in the Raspbian package repository.
Run the following command to install all the PHP packages to your Raspberry Pi.
sudo apt install php7.3 php7.3-mbstring php7.3-mysql php7.3-curl php7.3-gd php7.3-zip -y
2. Now that PHP is installed to our Raspberry Pi, we can test it to make sure it’s working.
We don’t have to worry about modifying any configuration files as this is automatically done when Apache is detected.
We can test to see PHP is working by creating a PHP file within the “/var/www/html/” directory. Creating a file in this directory will allow it to be processed and displayed when you open it in a web browser.
For our example, we will be creating a PHP file called “example.php“. We can create this file by issuing the following command.
sudo nano /var/www/html/example.php
3. In this file, we need to add the following lines on the PHP code.
The code above is just an incredibly simple PHP script that prints out today’s date retrieved using PHP’s “date()” function. It will be enough to tell us that PHP is, in fact, up and running.
4. Now save the file by pressing Ctrl + X then pressing Y and hitting ENTER.
5. In your web browser, go to https://ift.tt/2T9fPXt. Make sure you replace 192.168.1.103 with your Raspberry Pi’s IP Address.
Going to the following URL should display something like the following.
Today's date is 2019-06-28 21:30:45
Setting up an Apache Virtual Host
Virtual hosts are an essential part of the way Apache works. Apache uses these Virtualhost files so that it knows how to handle an individual site.
Within this section, we will show you how to create a basic virtual host file on your Raspberry Pi Apache webserver. Virtual hosts are Apache’s way of handling multiple websites with each Virtual Host file setting up and configuring a particular domain.
1. Begin by running the following command to create a basic virtual host file called “example.com.conf” within the “/etc/apache2/sites-available” folder.
If you plan on using this for an actual domain name, make sure you swap out “example.com” with the domain name.
sudo nano /etc/apache2/sites-available/example.com.conf
2. Within this file, enter the following text. We will explain each part of the virtual host file as we go along so you can have an idea on how to set up a very basic virtual host.
This line designates the start of the virtual host and that this virtual host should listen on port 80.
For those who do not know port 80 is the default port for “HTTP“. Likewise, the port utilized for “https” is 443.
ServerName example.com ServerAlias www.example.com
Here we add two directives to our virtual host. The first of these directives called “ServerName” designates the base domain. This server name is used to match the VirtualHost to a domain name.
The second directive, “ServerAlias“, defines additional domain names that will be matched as if they were the base domain name.
This directive is useful for matching additional names such as a “www.” subdomain.
DocumentRoot /var/www/example.com/public_html
The “DocumentRoot” directive defines the directory where all the files will be served from by Apache.
ErrorLog ${APACHE_LOG_DIR}/example.com_error.log CustomLog ${APACHE_LOG_DIR}/example.com_access.log combined
In these final two directives “ErrorLog” and “CustomLog” we specify the locations where we want that log files to be kept.
Finally, we close off the VirtualHost section.
3. With everything complete, the code should end up looking like what we have below. Of course, using your domain name and not “example.com“.
ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example.com/public_html ErrorLog ${APACHE_LOG_DIR}/example.com_error.log CustomLog ${APACHE_LOG_DIR}/example.com_access.log combined
Once done, save the file by pressing CTRL + X followed by Y then ENTER.
4. Let’s now create the folder where we will be storing our HTML files. We will take ownership of this folder for the “www-data” group as well.
Run the following command to create the folder we need and take ownership of it.
sudo mkdir -p /var/www/example.com/public_html sudo chown -R www-data:www-data /var/www/example.com/public_html
5. Now that we have created our VirtualHost and the folder for it, let’s go ahead and now activate it by running the following command.
This command creates a symlink for our config file between the “/etc/apache2/sites-available/” and “/etc/apache2/sites-enabled/” directories.
sudo a2ensite example.com.conf
6. Finally, for our new virtual host file to be loaded in, we need to tell the Apache2 service to reload its configuration.
This can be done simply by running the command below.
sudo systemctl reload apache2
You can now point a domain name server (DNS) to the Raspberry Pi’s public IP and have it serve files for the requested domain name. You will need to setup port forwarding to have this work correctly.
By now you should have the Apache webserver running on your Raspberry Pi. You should also have a decent idea of how to setup PHP and virtual hosts on Apache.
If you have any feedback, questions, tips, or anything else then please don’t hesitate to leave a comment below.
Get your Raspberry Pi
via Blogger https://ift.tt/3cLP7vK
0 notes
Link
I am wanting to use apache2 and murmur to host my own tiny website and voice chat for a small group of friends I stream with. I am doing this because I havea disdain for discord (even though I use it for now). I value free and open source software. I want to support it and recommend it to others. This is very difficult to do because not everyone can just set up their own mumble server like you can “just use” discord.
I’m really new to networking and server admin. I’m barely starting my studies on CompTIA A+ and Linux+. I am currently testing out everything on my workstation but I will move it all to my RaspberryPi when I figure it all out. I am struggling really bad with this. I cant seem to understand it and it’s very frustrating. My domain only points to my index.html within my LAN after I configured all the apache.conf files.
I’m putting together this little example of what I did and hopefully someone will be able to understand and explain what I’m doing wrong. I’d be so grateful if you could help me out. I know it’s pathetic because this is grade school stuff to most admins. But my upbringing was traumatic and violent. I am barely learning a lot of positive and productive things I should have already done as a kid, and became proficient in as a young adult.
First off, I’m running Ubuntu MATE 18.04.3 (static IP) with apache2.4.29-1.
This is an example of how I configured port forwarding in my router: Its leased by AT&T (Arris BGW210)
https://imgur.com/a/rxtEwQS
Second, Im using a free domain name from Freenom. I’m not sure if I set ‘A record’ correctly or if I need to set GlueRecords with Freenom. I also changed Freenom DNS to match DNS of my router and localhost. These are attDNS and google public DNS.
Here is how I configured Freenom Domain: https://imgur.com/a/HsLFg0n
I have the following set up in Linux:
/etc/hosts : 127.0.0.1 localhost 127.0.1.1 mycomputername 0.0.0.0 mysite.tk 0.0.0.0 www.mysite.tk # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
I made a .conf file here: /etc/apache2/sites-available
$ ls /etc/apache2/sites-available/
000-default.conf default-ssl.conf mysite.tk.conf
<VirtualHost mysite.tk:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName mysite.tk ServerName www.mysite.tk ServerAdmin [email protected] DocumentRoot /var/www/lexrex/public_html <!-- This is correct dir--> ** # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
I know the directory is right. here is output of ls on that dir:
me@sys:/var/www/lexrex$ cd /var/www/lexrex/public_html && ls fox.jpg hummer.png index.html lexrex.png space.jpg starseed.png
Then I ran these commands:
sudo a2ensite mysite.tk.conf && sudo service apache2 restart
Showing ports open in terminal: but they are using IPv6? Do I need to make them IPv4?
systemd-r 881 systemd-resolve 13u IPv4 22644 0t0 TCP 127.0.0.53:53 (LISTEN) cupsd 983 root 6u IPv6 25781 0t0 TCP [::1]:631 (LISTEN) cupsd 983 root 7u IPv4 25782 0t0 TCP 127.0.0.1:631 (LISTEN) apache2 1239 root 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1240 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1242 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) smbd 1514 root 33u IPv6 29822 0t0 TCP *:445 (LISTEN) smbd 1514 root 34u IPv6 29823 0t0 TCP *:139 (LISTEN) smbd 1514 root 35u IPv4 29824 0t0 TCP *:445 (LISTEN) smbd 1514 root 36u IPv4 29825 0t0 TCP *:139 (LISTEN) murmurd 1558 mumble-server 15u IPv6 28195 0t0 TCP *:64738 (LISTEN)
Neither the mumble server or the webserver can be reached outside of my local network. I’m only able to access them through LAN. I followed this example on youtube to get all this done:
https://www.youtube.com/watch?v=aPqDQX5naHA
Thank you so much if you read through all this. I’m probably making things really complicated like always, but I’m really lost. I cant afford to get webhosting services or buy a domain because I lost my job early this year and I’m trying to learn some skills to get into the IT industry. Plus the whole point here is kind of a learn to DIY instead of pay for others to do the work. It’s all really difficult because I have a lot of mental problems and issues like PTSD, depression and anxiety. I’ve had a very rough life and have finally began to accept myself and not let fear control me. I’m trying to really learn this kind of stuff instead of just ignore life or give up.
I dont know anyone who even understands this kind of stuff. I have no one to talk to about it. Anyone who would ends up wanting to charge $100/hour and not teach me anything to help myself later.
I hope you have a great day, thank you and Take Care.
Submitted November 08, 2019 at 02:05PM by Lexi5Rex https://www.reddit.com/r/webhosting/comments/dtltn1/can_someone_help_a_complete_newbie_host_own/?utm_source=ifttt
from Blogger http://webdesignersolutions1.blogspot.com/2019/11/can-someone-help-complete-newbie-host.html via IFTTT
0 notes
Text
Can someone help a complete newbie host own webserver?
I am wanting to use apache2 and murmur to host my own tiny website and voice chat for a small group of friends I stream with. I am doing this because I havea disdain for discord (even though I use it for now). I value free and open source software. I want to support it and recommend it to others. This is very difficult to do because not everyone can just set up their own mumble server like you can "just use" discord.
I'm really new to networking and server admin. I'm barely starting my studies on CompTIA A+ and Linux+. I am currently testing out everything on my workstation but I will move it all to my RaspberryPi when I figure it all out. I am struggling really bad with this. I cant seem to understand it and it's very frustrating. My domain only points to my index.html within my LAN after I configured all the apache.conf files.
I'm putting together this little example of what I did and hopefully someone will be able to understand and explain what I'm doing wrong. I'd be so grateful if you could help me out. I know it's pathetic because this is grade school stuff to most admins. But my upbringing was traumatic and violent. I am barely learning a lot of positive and productive things I should have already done as a kid, and became proficient in as a young adult.
First off, I'm running Ubuntu MATE 18.04.3 (static IP) with apache2.4.29-1.
This is an example of how I configured port forwarding in my router: Its leased by AT&T (Arris BGW210)
https://imgur.com/a/rxtEwQS
Second, Im using a free domain name from Freenom. I'm not sure if I set 'A record' correctly or if I need to set GlueRecords with Freenom. I also changed Freenom DNS to match DNS of my router and localhost. These are attDNS and google public DNS.
Here is how I configured Freenom Domain: https://imgur.com/a/HsLFg0n
I have the following set up in Linux:
/etc/hosts : 127.0.0.1 localhost 127.0.1.1 mycomputername 0.0.0.0 mysite.tk 0.0.0.0 www.mysite.tk # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
I made a .conf file here: /etc/apache2/sites-available
$ ls /etc/apache2/sites-available/
000-default.conf default-ssl.conf mysite.tk.conf
<VirtualHost mysite.tk:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName mysite.tk ServerName www.mysite.tk ServerAdmin [email protected] DocumentRoot /var/www/lexrex/public_html <!-- This is correct dir--> ** # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
I know the directory is right. here is output of ls on that dir:
me@sys:/var/www/lexrex$ cd /var/www/lexrex/public_html && ls fox.jpg hummer.png index.html lexrex.png space.jpg starseed.png
Then I ran these commands:
sudo a2ensite mysite.tk.conf && sudo service apache2 restart
Showing ports open in terminal: but they are using IPv6? Do I need to make them IPv4?
systemd-r 881 systemd-resolve 13u IPv4 22644 0t0 TCP 127.0.0.53:53 (LISTEN) cupsd 983 root 6u IPv6 25781 0t0 TCP [::1]:631 (LISTEN) cupsd 983 root 7u IPv4 25782 0t0 TCP 127.0.0.1:631 (LISTEN) apache2 1239 root 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1240 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1242 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) smbd 1514 root 33u IPv6 29822 0t0 TCP *:445 (LISTEN) smbd 1514 root 34u IPv6 29823 0t0 TCP *:139 (LISTEN) smbd 1514 root 35u IPv4 29824 0t0 TCP *:445 (LISTEN) smbd 1514 root 36u IPv4 29825 0t0 TCP *:139 (LISTEN) murmurd 1558 mumble-server 15u IPv6 28195 0t0 TCP *:64738 (LISTEN)
Neither the mumble server or the webserver can be reached outside of my local network. I'm only able to access them through LAN. I followed this example on youtube to get all this done:
https://www.youtube.com/watch?v=aPqDQX5naHA
Thank you so much if you read through all this. I'm probably making things really complicated like always, but I'm really lost. I cant afford to get webhosting services or buy a domain because I lost my job early this year and I'm trying to learn some skills to get into the IT industry. Plus the whole point here is kind of a learn to DIY instead of pay for others to do the work. It's all really difficult because I have a lot of mental problems and issues like PTSD, depression and anxiety. I've had a very rough life and have finally began to accept myself and not let fear control me. I'm trying to really learn this kind of stuff instead of just ignore life or give up.
I dont know anyone who even understands this kind of stuff. I have no one to talk to about it. Anyone who would ends up wanting to charge $100/hour and not teach me anything to help myself later.
I hope you have a great day, thank you and Take Care.
Submitted November 08, 2019 at 02:05PM by Lexi5Rex https://www.reddit.com/r/webhosting/comments/dtltn1/can_someone_help_a_complete_newbie_host_own/?utm_source=ifttt from Blogger http://webdesignersolutions1.blogspot.com/2019/11/can-someone-help-complete-newbie-host.html via IFTTT
0 notes
Text
Can someone help a complete newbie host own webserver? via /r/webhosting
Can someone help a complete newbie host own webserver?
I am wanting to use apache2 and murmur to host my own tiny website and voice chat for a small group of friends I stream with. I am doing this because I havea disdain for discord (even though I use it for now). I value free and open source software. I want to support it and recommend it to others. This is very difficult to do because not everyone can just set up their own mumble server like you can "just use" discord.
I'm really new to networking and server admin. I'm barely starting my studies on CompTIA A+ and Linux+. I am currently testing out everything on my workstation but I will move it all to my RaspberryPi when I figure it all out. I am struggling really bad with this. I cant seem to understand it and it's very frustrating. My domain only points to my index.html within my LAN after I configured all the apache.conf files.
I'm putting together this little example of what I did and hopefully someone will be able to understand and explain what I'm doing wrong. I'd be so grateful if you could help me out. I know it's pathetic because this is grade school stuff to most admins. But my upbringing was traumatic and violent. I am barely learning a lot of positive and productive things I should have already done as a kid, and became proficient in as a young adult.
First off, I'm running Ubuntu MATE 18.04.3 (static IP) with apache2.4.29-1.
This is an example of how I configured port forwarding in my router: Its leased by AT&T (Arris BGW210)
https://imgur.com/a/rxtEwQS
Second, Im using a free domain name from Freenom. I'm not sure if I set 'A record' correctly or if I need to set GlueRecords with Freenom. I also changed Freenom DNS to match DNS of my router and localhost. These are attDNS and google public DNS.
Here is how I configured Freenom Domain: https://imgur.com/a/HsLFg0n
I have the following set up in Linux:
/etc/hosts : 127.0.0.1 localhost 127.0.1.1 mycomputername 0.0.0.0 mysite.tk 0.0.0.0 www.mysite.tk # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
I made a .conf file here: /etc/apache2/sites-available
$ ls /etc/apache2/sites-available/
000-default.conf default-ssl.conf mysite.tk.conf
<VirtualHost mysite.tk:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName mysite.tk ServerName www.mysite.tk ServerAdmin [email protected] DocumentRoot /var/www/lexrex/public_html <!-- This is correct dir--> ** # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
I know the directory is right. here is output of ls on that dir:
me@sys:/var/www/lexrex$ cd /var/www/lexrex/public_html && ls fox.jpg hummer.png index.html lexrex.png space.jpg starseed.png
Then I ran these commands:
sudo a2ensite mysite.tk.conf && sudo service apache2 restart
Showing ports open in terminal: but they are using IPv6? Do I need to make them IPv4?
systemd-r 881 systemd-resolve 13u IPv4 22644 0t0 TCP 127.0.0.53:53 (LISTEN) cupsd 983 root 6u IPv6 25781 0t0 TCP [::1]:631 (LISTEN) cupsd 983 root 7u IPv4 25782 0t0 TCP 127.0.0.1:631 (LISTEN) apache2 1239 root 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1240 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) apache2 1242 www-data 4u IPv6 24518 0t0 TCP *:80 (LISTEN) smbd 1514 root 33u IPv6 29822 0t0 TCP *:445 (LISTEN) smbd 1514 root 34u IPv6 29823 0t0 TCP *:139 (LISTEN) smbd 1514 root 35u IPv4 29824 0t0 TCP *:445 (LISTEN) smbd 1514 root 36u IPv4 29825 0t0 TCP *:139 (LISTEN) murmurd 1558 mumble-server 15u IPv6 28195 0t0 TCP *:64738 (LISTEN)
Neither the mumble server or the webserver can be reached outside of my local network. I'm only able to access them through LAN. I followed this example on youtube to get all this done:
https://www.youtube.com/watch?v=aPqDQX5naHA
Thank you so much if you read through all this. I'm probably making things really complicated like always, but I'm really lost. I cant afford to get webhosting services or buy a domain because I lost my job early this year and I'm trying to learn some skills to get into the IT industry. Plus the whole point here is kind of a learn to DIY instead of pay for others to do the work. It's all really difficult because I have a lot of mental problems and issues like PTSD, depression and anxiety. I've had a very rough life and have finally began to accept myself and not let fear control me. I'm trying to really learn this kind of stuff instead of just ignore life or give up.
I dont know anyone who even understands this kind of stuff. I have no one to talk to about it. Anyone who would ends up wanting to charge $100/hour and not teach me anything to help myself later.
I hope you have a great day, thank you and Take Care.
Submitted November 08, 2019 at 02:05PM by Lexi5Rex via reddit https://www.reddit.com/r/webhosting/comments/dtltn1/can_someone_help_a_complete_newbie_host_own/?utm_source=ifttt
0 notes